package com.base.component.ai.workflow.node;

import com.base.component.ai.workflow.core.NodeTypeEnum;
import com.gitee.magic.core.valid.annotation.Enum;
import com.gitee.magic.core.valid.annotation.NotNull;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter@Setter@ToString
public class Node {

	public Node(NodeTypeEnum nodeTyp) {
		this.nodeType=nodeTyp;
	}
	
	@Schema(description="类型")
	@NotNull
	@Enum
	private NodeTypeEnum nodeType;
	
}
